package com.sdsy.blockchaintrainingback.pojo.training;

import com.baomidou.mybatisplus.annotation.IdType;
import com.sdsy.blockchaintrainingback.mapper.BaseMapperX;
import com.sdsy.blockchaintrainingback.pojo.common.BaseDO;
import lombok.*;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * 用户实训信息。
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user_training")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserTraining extends BaseDO {

    /** 用户实训的唯一ID */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /** 用户ID */
    private Long userId;

    /** 实训ID */
    private Integer trainingId;

    /** 状态 */
    private Integer status;
}

